<?php if($this->categories->count() > 0): ?>
	<div class="sep_his"><hr/></div>
	<span><?php echo $this->category->name ?></span>
	<br />
	<ul>
	<?php foreach($this->categories as $category): ?>
		<li><input type="radio" onclick="getSubCat(<?php echo $category->id ?>,<?php echo $category->level + 1?>)" name="cat_id" class="styled" value="<?php echo $category->id ?>"/><span><?php echo $category->name ?></span></li>
	<?php endforeach ?>
	</ul>
<?php endif ?>
<div class="sep_his"><hr/></div>

<div class="stack" style="display:none">
Bạn đang chọn 
<?php for($i = count($this->stack)-1; $i >= 0; $i--): ?>
<span class="user_usage"><?php echo $this->stack[$i]?></span><?php if($i != 0): ?> >><?php endif ?>
<?php endfor ?>
</div>
